import { Layout } from '@/layouts'

const maintain = [{
	path: '/maintain',
	component: Layout,
	redirect: '/maintain/managerInformation',
	meta: {
		title: '机构维护',
		icon: 'chart',
		noCache: true,
		permission: ['maintain']
	},
	children: [{
		path: 'managerInformation',
		component: () => import('@/views/maintain/managerInformation/index.vue'),
		name: 'managerInformation',
		meta: {
			title: '管理人信息',
			permission: ['managerInformation'],
			keepAlive: false
		}
	},
	{
		path: 'trusteeInformation',
		component: () => import('@/views/maintain/trusteeInformation/index.vue'),
		name: 'trusteeInformation',
		meta: {
			title: '托管人信息',
			permission: ['trusteeInformation'],
			keepAlive: false
		}
	},
	{
		path: 'lawFirmInformation',
		component: () => import('@/views/maintain/lawFirmInformation/index.vue'),
		name: 'lawFirmInformation',
		meta: {
			title: '律师事务所信息',
			permission: ['lawFirmInformation'],
			keepAlive: false
		}
	},
	{
		path: 'accountingFirmInformation',
		component: () => import('@/views/maintain/accountingFirmInformation/index.vue'),
		name: 'accountingFirmInformation',
		meta: {
			title: '会计师事务所信息',
			permission: ['accountingFirmInformation'],
			keepAlive: false
		}
	},
	{
		path: 'investmentConsultant',
		component: () => import('@/views/maintain/investmentConsultant/index.vue'),
		name: 'investmentConsultant',
		meta: {
			title: '投资顾问信息',
			permission: ['investmentConsultant'],
			keepAlive: false
		}
	},
	{
		path: 'salesOrganization',
		component: () => import('@/views/maintain/salesOrganization/index.vue'),
		name: 'salesOrganization',
		meta: {
			title: '销售机构信息',
			permission: ['salesOrganization'],
			keepAlive: false
		}
	},
	{
		path: 'salesRelationship',
		component: () => import('@/views/maintain/salesRelationship/index.vue'),
		name: 'salesRelationship',
		meta: {
			title: '基金-销售机构关系',
			permission: ['salesRelationship'],
			keepAlive: false
		}
	}
	]
}]
export default maintain
